package io.renren.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.util.Date;

/**
 * 投票记录
 *
 * @author liuyujun 384880231@qq.com
 * @since 3.0 2022-01-13
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class AssemblyVoteNotepadExcel {
    @ExcelProperty(value = "投票人ID", index = 0)
    private String voteSubject;
    @ExcelProperty(value = "投票ID", index = 1)
    private Long avid;
    @ExcelProperty(value = "投票的时间", index = 2)
    private Date voteTime;
    @ExcelProperty(value = "投票的对象", index = 3)
    private String voteTarget;
    @ExcelProperty(value = "已投", index = 4)
    private Boolean alreadyCast;
    @ExcelProperty(value = "匿名", index = 5)
    private Boolean anonymous;
    @ExcelProperty(value = "创建人", index = 6)
    private String creator;
    @ExcelProperty(value = "创建时间", index = 7)
    private Date createDate;
}